package com.dragon.modules.yuegou.excel.park;

import com.dragon.modules.media.annotations.ExcelSheet;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@com.dragon.modules.media.annotations.ExcelWorkbook(template = "classpath:\\excel\\park\\park.xlsx")
public class ParkWorkbook {
	@ExcelSheet
	@JsonProperty("停车记录表")
	private List<ParkRow> park;

	public static class ParkRow {
		@JsonProperty("车牌号")
		private String plateNumber;

		@JsonProperty("绑定手机")
		private String memberMobile;
		
		@JsonProperty("进场时间")
		private LocalDateTime entranceTime;
		
		@JsonProperty("出场时间")
		private LocalDateTime exitTime;

		@JsonProperty("停车时长")
		private String stayedTime;

		@JsonProperty("应缴金额")
		private BigDecimal parkingFee;

		@JsonProperty("实付款")
		private BigDecimal paidOnlineFee;

		@JsonProperty("券抵扣金额")
		private BigDecimal couponDiscountFee;

		@JsonProperty("停车券名称")
		private String couponName;

		@JsonProperty("状态")
		private String status;

		@JsonProperty("停车场")
		private String parkingName;

		/** 积分抵扣金额 */
		@JsonProperty("积分抵扣金额")
		private BigDecimal integralFee;

		/** 抵扣积分 */
		@JsonProperty("抵扣积分")
		private Integer integral;

		/** [枚举]支付类型：1-平台-PLATFORM、2-支付宝-ALIPAY、3-微信-WECHAT */
		@JsonProperty("支付方式")
		private String payType;

		public BigDecimal getIntegralFee() {
			return integralFee;
		}

		public void setIntegralFee(BigDecimal integralFee) {
			this.integralFee = integralFee;
		}

		public Integer getIntegral() {
			return integral;
		}

		public void setIntegral(Integer integral) {
			this.integral = integral;
		}

		public String getPayType() {
			return payType;
		}

		public void setPayType(String payType) {
			this.payType = payType;
		}

		public String getPlateNumber() {
			return plateNumber;
		}

		public void setPlateNumber(String plateNumber) {
			this.plateNumber = plateNumber;
		}

		public String getMemberMobile() {
			return memberMobile;
		}

		public void setMemberMobile(String memberMobile) {
			this.memberMobile = memberMobile;
		}

		public LocalDateTime getEntranceTime() {
			return entranceTime;
		}

		public void setEntranceTime(LocalDateTime entranceTime) {
			this.entranceTime = entranceTime;
		}

		public LocalDateTime getExitTime() {
			return exitTime;
		}

		public void setExitTime(LocalDateTime exitTime) {
			this.exitTime = exitTime;
		}

		public String getStayedTime() {
			return stayedTime;
		}

		public void setStayedTime(String stayedTime) {
			this.stayedTime = stayedTime;
		}

		public BigDecimal getParkingFee() {
			return parkingFee;
		}

		public void setParkingFee(BigDecimal parkingFee) {
			this.parkingFee = parkingFee;
		}

		public BigDecimal getPaidOnlineFee() {
			return paidOnlineFee;
		}

		public void setPaidOnlineFee(BigDecimal paidOnlineFee) {
			this.paidOnlineFee = paidOnlineFee;
		}

		public BigDecimal getCouponDiscountFee() {
			return couponDiscountFee;
		}

		public void setCouponDiscountFee(BigDecimal couponDiscountFee) {
			this.couponDiscountFee = couponDiscountFee;
		}

		public String getCouponName() {
			return couponName;
		}

		public void setCouponName(String couponName) {
			this.couponName = couponName;
		}

		public String getStatus() {
			return status;
		}

		public void setStatus(String status) {
			this.status = status;
		}

		public String getParkingName() {
			return parkingName;
		}

		public void setParkingName(String parkingName) {
			this.parkingName = parkingName;
		}
	}

	public List<ParkRow> getPark() {
		return park;
	}

	public void setPark(List<ParkRow> park) {
		this.park = park;
	}
}
